/*
 * Copyright (c) 2023-2025 elsfs Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.elsfs.cloud.module.ai.api.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * AI模型类型
 */
@Getter
@RequiredArgsConstructor
public enum AiModelType {

    TEXT_GENERATION("文本生成", "用于生成文本内容的模型"),
    MULTIMODAL("全模态", "支持多种模态输入和输出的模型"),
    INFERENCE("推理模型", "用于逻辑推理的模型"),
    AUDIO_UNDERSTANDING("音频理解", "用于理解音频内容的模型"),
    VIDEO_UNDERSTANDING("视频理解", "用于理解视频内容的模型"),
    VIDEO_GENERATION("视频生成", "用于生成视频内容的模型"),
    IMAGE_PROCESSING("图片处理", "用于处理和编辑图片的模型"),
    IMAGE_UNDERSTANDING("图片理解", "用于理解图片内容的模型"),
    IMAGE_GENERATION("图片生成", "用于生成图片内容的模型"),
    EMBEDDING("向量模型", "用于生成文本嵌入向量的模型"),
    SPEECH_SYNTHESIS("语音合成", "用于将文本转换为语音的模型"),
    SPEECH_RECOGNITION("语音识别", "用于将语音转换为文本的模型"),
    RANKING("排序模型", "用于对内容进行排序的模型"),
    SECURITY_ANALYSIS("安全分析", "用于安全分析和威胁检测的模型"),
    ANOMALY_DETECTION("异常检测", "用于检测异常行为或数据的模型"),
    PERSONALIZATION("个性化推荐", "用于个性化内容推荐的模型"),
    AUTOMATION("自动化任务", "用于自动化执行任务的模型");

    /**
     * 类型名称
     */
    private final String name;

    /**
     * 类型描述
     */
    private final String description;
}
